<template>
  <div>
    <el-button
      size="mini"
      class="filter-item"
      type="primary"
      icon="el-icon-download"
      @click="handleExport()"
      >导出
      </el-button>
    <a href="http://116.62.162.103/Test.pdf"> 下载</a>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
  created() {},
  methods: {
    //method方法：
    handleExport(row) {
      var elemIF = document.createElement("iframe");
      elemIF.src ="http://www.geniusman.top/Test.pdf";
      elemIF.style.display = "none";
      document.body.appendChild(elemIF);
    },
  },
};
</script>